package com.hx.hospital.service;


import com.hx.common.result.PageResult;
import com.hx.hospital.pojo.Notification;

import java.util.List;
import java.util.Map;

/**
 * notification业务逻辑层
 */
public interface NotificationService {


    public List<Notification> findAll();


    public PageResult<Notification> findPage(int page, int size);


    public List<Notification> findList(Map<String, Object> searchMap);


    public PageResult<Notification> findPage(Map<String, Object> searchMap, int page, int size);


    public Notification findById(Long id);

    public void add(Notification notification);


    public void update(Notification notification);


    public void delete(Long id);

}
